package buzhidao;
import java.util.Scanner;

class University {
    private int scoreLine;

    public University(int scoreLine) {
        this.scoreLine = scoreLine;
    }

    public int getScoreLine() {
        return scoreLine;
    }

    public void setScoreLine(int scoreLine) {
        this.scoreLine = scoreLine;
    }
}

class Student {
    private String name;
    private int score;

    public Student(String name, int score) {
        this.name = name;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}

class Admission {
    public void isAdm(Student stu, University un) {
        if (stu.getScore() >= un.getScoreLine()) {
            System.out.println(stu.getName() + "被录取");
        } else {
            System.out.println(stu.getName() + "未被录取");
        }
    }
}

public class UniversitySystem {
    public static void main(String[] args) {
        @SuppressWarnings("resource")
        Scanner scanner = new Scanner(System.in);
        int scoreLine = scanner.nextInt();
        University university = new University(scoreLine);
        String name = scanner.next();
        int score = scanner.nextInt();
        Student student = new Student(name, score);
        Admission admission = new Admission();
        admission.isAdm(student, university);
        
    }
}
